s=input()
arr=['A','E','I','O','U']
ans=0
for i in s:
    if i>='A' and i<='Z':
        if i not in arr:
            ans+=1
print(ans)